#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME              	:= /usr/lib/kaffe
DEB_ANT_BUILD_TARGET 	:= jar
DEB_JARS		:= tritonus_share

install/libjmac-java::
	for i in jmac.jar jmacdecoder.jar jmacplayer.jar jmacspi.jar \
		jmacspi15.jar jmactritonusspi.jar; do \
	dh_link /usr/share/java/$$i \
		/usr/share/java/`basename $$i .jar`$(DEB_UPSTREAM_VERSION).jar; done

get-orig-source:
	-uscan --upstream-version 0
